package com.dykj.fireFighting.api.base.maintenance.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 紧急维保记录
 * @Author JacksonTu
 * @Date 2021-08-17 09:31:02
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "紧急维保记录")
@TableName("urgent_maintenance")
public class UrgentMaintenance extends Model<UrgentMaintenance> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	/**
	 * 设备id
	 */
	@ApiModelProperty(value = "设备id")
	@TableField("device_id")
	private String deviceId;
	/**
	 * 设备位置
	 */
	@ApiModelProperty(value = "设备位置")
	private String address;
	/**
	 * 维保单位
	 */
	@ApiModelProperty(value = "维保单位")
	@TableField("maintenance_dept")
	private String maintenanceDept;
	/**
	 * 预约单位（社会单位）
	 */
	@ApiModelProperty(value = "预约单位（社会单位）")
	@TableField("sociology_dept")
	private String sociologyDept;
	/**
	 * 维修状态(0已修好 1待处理 2维修中)
	 */
	@ApiModelProperty(value = "维修状态(0已修好 1待处理 2维修中)")
	private Integer status;
	/**
	 * 隐患（维修完成）整改有效时间
	 */
	@ApiModelProperty(value = "隐患（维修完成）整改有效时间")
	@TableField("hidden_danger_time")
	private Integer hiddenDangerTime;
	/**
	 * 整改是否有效
	 */
	@ApiModelProperty(value = "整改是否有效")
	@TableField("is_effective")
	private Integer isEffective;
	/**
	 * 整改时间
	 */
	@ApiModelProperty(value = "整改时间")
	@TableField("rectification_date")
	private Date rectificationDate;
	/**
	 * 社会单位签字
	 */
	@ApiModelProperty(value = "社会单位签字")
	@TableField("sociology_dept_sign")
	private String sociologyDeptSign;
	/**
	 * 社会单位意见
	 */
	@ApiModelProperty(value = "社会单位意见")
	@TableField("sociology_dept_suggestion")
	private String sociologyDeptSuggestion;
	/**
	 * 维保评价得分
	 */
	@ApiModelProperty(value = "维保评价得分")
	private Integer score;
	/**
	 * 评价时间
	 */
	@ApiModelProperty(value = "评价时间")
	@TableField("evaluation_date")
	private Date evaluationDate;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	@TableField("is_del")
	private String isDel;
	@TableField("create_date")
	private Date createDate;
	@TableField("create_by")
	private String createBy;
	@TableField("arrive_time")
	private String arriveTime;


}
